﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="List.aspx.cs" Inherits="RichECMS.ServerPages.Js.List" %>

<%@ Import Namespace="Common" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>河南锐之旗CMS网站内容管理平台系统</title>
    <meta name="Keywords" content="河南锐之旗CMS网站内容管理平台系统" />
    <meta name="Description" content="河南锐之旗CMS网站内容管理平台系统" />
    <meta name="auther" content="河南锐之旗信息技术有限公司|河南企汇网信息技术有限公司" />
    <link href="../../sysCommon/sysStyle/Pages.css" type="text/css" rel="stylesheet" />
    <link href="../../sysCommon/sysStyle/style.css" type="text/css" rel="stylesheet" />
    <script src="../../sysCommon/sysScripts/jquery.js" type="text/javascript"></script>
    <script src="../../sysCommon/sysScripts/cboxCheckAll.js" type="text/javascript"></script>
    <style type="text/css">
        .articleinfotable
        {
            display: none;
        }
        .articleinfo
        {
            height: 44px;
            width: 100%;
        }
        .articleinfo div
        {
            margin: 2px 40px 2px 40px;
            overflow: auto;
            height: 40px;
            color: #46594f;
        }
        .page div.sabrosus a
        {
            height: 15px;
            line-height: 15px;
            overflow: hidden;
        }
    </style>
    <script src="../../sysCommon/sysScripts/parent1.js" type="text/javascript"></script>
    <script src="../../sysCommon/sysScripts/commompage.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="main_body">
        <div class="right_body">
            <div class="right_top">
                <a href="###">CMS内容管理平台</a>><a href="###">首页</a>>JS模板管理
            </div>
            <div class="title">
                <div class="information">
                    栏目名称：JS模板管理</div>
            </div>
            <div class="search_title">
                <div class="title_name">
                    搜索</div>
                <div class="s_menu">
                    <img src="../../sysCommon/sysImages/menu_top.jpg" width="16" height="33" /><!--<img src="image/systerm/menu_down.jpg" width="16" height="33" />-->
                </div>
            </div>
            <div class="search_box">
                <table border="0" align="left" cellpadding="0" cellspacing="0" style="width: 100%">
                    <tr>
                        <td align="left" valign="middle" height="25" style="padding-bottom: 10px;">
                            <table width="670" border="0" cellpadding="0" cellspacing="0" align="left">
                                <tr>
                                    <td align="left" valign="middle" height="25" width="60">
                                        标&nbsp;&nbsp;&nbsp;&nbsp;题：
                                    </td>
                                    <td align="left" valign="middle" width="522" style="padding-right: 10px;">
                                        <input type="text" style="width: 522px;" runat="server" id="txtTitle" />
                                    </td>
                                    <td align="left" valign="middle" width="78">
                                        <a href="###" title="搜索" style="display: block; width: 78px; width: 21px;">
                                            <asp:ImageButton ID="ImageButton1" runat="server" Width="78" Height="21" alt="搜索"
                                                ImageUrl="../../sysCommon/sysImages/search_button.jpg" OnClick="ImageButtonsearch" />
                                        </a>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </div>
            <div class="news_box">
                <table border="0" align="left" cellpadding="0" cellspacing="0" style="width: 100%">
                    <tr>
                        <td align="left" valign="middle" background="../../sysCommon/sysImages/title_bg1.jpg"
                            style="border-bottom: #d6d6d6 solid 1px; padding-left: 20px;" height="31">
                            <ul>
                                <li class="one"><a href="Add.aspx" title="添加" runat="server" id="btnAdd">
                                    <img src="../../sysCommon/sysImages/n_menu_1.jpg" alt="添加" width="54" height="31" /></a></li>
                                <li class="one"><a href="#" title="编辑">
                                    <img src="../../sysCommon/sysImages/n_menu_2.jpg" alt="编辑" width="56" height="31" /></a></li>
                                <li class="one">
                                    <asp:ImageButton ID="btnSort" runat="server" ImageUrl="../../sysCommon/sysImages/n_menu_3.jpg"
                                        alt="排序" Width="61" Height="31" OnClick="btnSort_Click" />
                                </li>
                                <li class="one">
                                    <input type="image" src="../../sysCommon/sysImages/n_menu_4.jpg" width="62" height="31" />
                                </li>
                                <li class="one"><a href="###" title="重置">
                                    <img src="../../sysCommon/sysImages/n_menu_5.jpg" alt="重置" width="62" height="31" /></a>
                                </li>
                                <li class="one">
                                    <asp:ImageButton runat="server" Width="89" Height="31" ImageUrl="../../sysCommon/sysImages/n_menu_6.jpg"
                                        OnClick="btnDeleteAll_Click" OnClientClick="return CheckItem('d');" ID="btnDelete" />
                                </li>
                                <li class="last">
                                    <asp:ImageButton ID="btnRecovery" runat="server" Width="97" Height="31" ImageUrl="../../sysCommon/sysImages/n_menu_7.jpg"
                                        OnClick="btnRecovery_Click" />
                                </li>
                            </ul>
                        </td>
                    </tr>
                    <tr>
                        <td align="left" valign="middle" height="30" background="../../sysCommon/sysImages/list_bg_1.jpg">
                            <table width="100%" border="0" align="left" cellpadding="0" cellspacing="0" height="30">
                                <tr>
                                    <td align="center" valign="middle" width="3%" height="30">
                                        <input type="checkbox" id="cbAll" value="复选框" />
                                    </td>
                                    <td align="center" valign="middle" width="4%">
                                        编号
                                    </td>
                                    <td align="center" valign="middle" width="45%">
                                        标题
                                    </td>
                                    <td align="center" valign="middle" width="7%">
                                        状态
                                    </td>
                                    <td align="center" valign="middle" width="11%">
                                        模板类别
                                    </td>
                                    <td align="center" valign="middle" width="15%">
                                        操作
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <asp:Repeater ID="rptList" runat="server" OnItemCommand="rptList_ItemCommand">
                        <ItemTemplate>
                            <tr>
                                <td style="display: block;">
                                    <div>
                                        <table width="100%" border="0" align="left" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"
                                            height="29" style="border-top: #d6d6d6 solid 1px;">
                                            <tr>
                                                <td align="center" valign="middle" width="3%" height="30">
                                                    <label>
                                                        <input type="checkbox" name="iptckb" value="<%#Eval("intScriptsID") %>" id="CheckboxGroup<%#Eval("intScriptsID") %>" />
                                                    </label>
                                                </td>
                                                <td align="center" valign="middle" width="4%">
                                                    <%#Eval("intScriptsID")%>
                                                </td>
                                                <td align="center" valign="middle" width="2%">
                                                    <img src="../../sysCommon/sysImages/wen.gif" width="10" height="29" />
                                                </td>
                                                <td align="left" valign="middle" width="43%">
                                                    <a href="###" class="showarticleinfo">
                                                        <%#Eval("chvScriptsName")%></a>
                                                </td>
                                                <td align="center" valign="middle" width="7%">
                                                    <span style='color: #D80404;'>
                                                        <%#Eval("intState").ToString()=="0"?"未发布":"已发布" %></span>
                                                </td>
                                                <td align="center" valign="middle" width="11%">
                                                    <span style='color: #D80404;'>
                                                        <%# Utility.GetJSTemplateType(int.Parse(Eval("intType").ToString()))%>
                                                    </span>
                                                </td>
                                                <td align="center" valign="middle" width="15%">
                                                    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" height="29">
                                                        <tr>
                                                            <td align="right" width="42%" valign="middle" style="background: url(../../sysCommon/sysImages/line_2.gif) right top no-repeat;
                                                                padding-right: 5px;">
                                                                <a href='Update.aspx?Id=<%#Eval("intScriptsID") %>' title="编辑">
                                                                    <img src="../../sysCommon/sysImages/bianji.gif" alt="编辑" width="15" height="29" /></a>
                                                            </td>
                                                            <td align="center" width="16%" valign="middle" style="background: url(../../sysCommon/sysImages/line_2.gif) right top no-repeat;">
                                                                <asp:ImageButton ID="ImageButton2" ToolTip="放入回收站" CommandArgument='<%#Eval("intScriptsID") %>'
                                                                    CommandName="Recycle" runat="server" ImageUrl="../../sysCommon/sysImages/huishou.gif"
                                                                    Width="14" Height="29" />
                                                            </td>
                                                            <td align="left" width="42%" valign="middle" style="padding-left: 5px;">
                                                                <asp:ImageButton ID="btnDeleteOne" ToolTip="删除" CommandArgument='<%#Eval("intScriptsID") %>'
                                                                    CommandName="Delete" runat="server" ImageUrl="../../sysCommon/sysImages/shanchu.gif"
                                                                    Width="14" Height="29" />
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                </td>
                            </tr>
                            <tr class="articleinfotable">
                                <td>
                                    <div>
                                        <table width="100%" border="0" align="left" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"
                                            height="46" style="border-top: #d6d6d6 solid 1px;">
                                            <tr>
                                                <td align="left" valign="middle" width="3%" height="46">
                                                    <div class="articleinfo">
                                                        <div>
                                                        </div>
                                                    </div>
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </table>
            </div>
            <div class="pages_box" style="clear: both; height: 30px; overflow: hidden; margin-top: 0px;">
                <div class="p_info">
                    共有 <span style="color: #417DB7">
                        <asp:Literal runat="server" ID="LitPageCount"></asp:Literal></span> 条&nbsp;&nbsp;&nbsp;&nbsp;当前
                    第 <span style="color: #417DB7">
                        <asp:Literal runat="server" ID="LitPageCurrent"></asp:Literal></span> 页</div>
                <div class="page" style="float: right; height: 30px;">
                    <div class="sabrosus">
                        <webdiyer:AspNetPager ID="AspNetPagerList" runat="server" AlwaysShow="true" FirstPageText="首页"
                            LastPageText="尾页" NextPageText="下一页" PageSize="15" PrevPageText="上一页" ShowInputBox="Always"
                            ShowNavigationToolTip="True" OnPageChanged="AspNetPagerArticle_PageChanged" NumericButtonCount="5">
                        </webdiyer:AspNetPager>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <asp:HiddenField ID="SortHidden" runat="server" Value="" />
    </form>
</body>
</html>